<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/photo.js?time=' + sys_get_time();
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
		
		}
	});
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<div>
	<h3>编辑相册信息</h3>
</div>
<div style="float:left;">
	<form id="editAlbumForm">
		<table class="table table-striped">
			<tr><td class="table-left" style="width:50px;">名称</td>
				<td style="width:200x;"><input type="text" id="name" name="name" value="${(album.name)!''}" />
					<input type="hidden" id="code" name="code" value="${(album.code)!''}"/>
				</td>
			</tr>
			<tr><td class="table-left" style="width:50px">备注</td>
				<td style="width:200x;"><input type="text" id="remark" name="remark" value="${(album.remark)!''}" />
				</td>
			</tr>
			<tr><td colspan="2" style="text-align: center;">
					<a href="#" class="btn btn-info" onclick="javascript:saveAlbum_photo('${(album.code)!''}');$.fn.colorbox.close();">
						<i class="icon-save"></i> &nbsp;保&nbsp;&nbsp;存
					</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<a href="#" class="btn btn-primary" onclick="javascript:$.fn.colorbox.close();">
						<i class="fontello-icon-block"></i>&nbsp;取&nbsp;&nbsp;消
					</a>
				</td>
			</tr>
		</table>
	</form>
</div>
